package trieMatch.keywordMatcher;

import trieMatch.Interfaces.AtomFactory;

/**
 * Fast cache-free AtomFactory does not require synchronization<br>
 * 
 * @author michah.lerner
 * 
 */
public class FastAtomFactory implements AtomFactory {
	public Atom mkAtom(final String value, final int index) {
		// return new Atom(value.intern(), index); //intern slows things down
		return new Atom(value, index);
	}
}
